package com.leizhou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @author LT
 * @version 1.0.0
 * @ClassName ConfigServerApplication.java
 * @Description TODO
 * @createTime 2020年04月27日 23:32:00
 */
@SpringBootApplication
@EnableDiscoveryClient // 开启eureka客户端
@EnableConfigServer    // 开启配置中心服务
public class ConfigServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class, args);
    }
}
